package annotation.test2;
/**
 * @author 甘赵辉
 * @date 2023/2/28
 */
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
// 串讲步骤1: 创建注解 Bean (用来给Dog和Fish类添加注解)
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface Bean {
    String value() default "";
}
